import * as types from './mainScreenActionTypes';

export function reduxSelectfarm(index) {
  return {
    type: types.SELECTFARM,
    index:index
  };
}

export function reduxChangeFarmunit(farmunitname) {
  return {
    type: types.CHANGEFARMUNIT,
    farmunitname:farmunitname
  };
}
//进入单个bwlist
export function reduxEnterUnit(currentSec,currentAddr) {
  return {
    type: types.ENTER_FARM_UNIT,
    currentSec:currentSec,
    currentAddr:currentAddr
  };
}
